<?php


namespace App\Http\Controllers\Queue;


class Node
{
    public $value;//用于保存数据
    public $key;//用户保存数据的鉴定值
    public function __construct($value,$key)
    {
        $this->value = $value;
        $this->key = $key;
    }

    public function getValue(){
        return $this->value;
    }
    public function getKey(){
        return $this->key;
    }
}